package com.buer.storage.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class StockDto {
    private Integer stockId;
    private String prodImg;
    private String prodName;
    private String prodCode;
    private String prodSpecial;
    private Integer prodPrice;
    private Integer prodStocknum;
    private Integer prodAwaitnum;
    private Integer prodResiduenum;
    private String emit;
    private Integer prodArea;
    private String areaName;
    private Integer prodDepart;
    private String departmentCode;
    private Integer warehouseId;
    private Integer categoryTwoId;
    private String warehouseName;
    private String categoryTwoName;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date prodDate;
}